const path=require('path')
//合并配置的js文件
const webpackMerge = require('webpack-merge')
//引入baseconfig文件
const baseconfig = require('./base.config')
module.exports = webpackMerge(baseconfig, {
    //热更新，不用每次build,开发时需要，但打包时不需要
    devServer: {
        contentBase: path.join(__dirname, "dist"),

        //inline实时监听
        inline: true,
        compress: true,
        port: 9000
    }
})
    
